#ifndef WIDGET_H
#define WIDGET_H
#include "mythread.h"

#include <QWidget>
#include <QProgressDialog>

namespace Ui {
class Widget;
}

class Widget : public QWidget
{
    Q_OBJECT

public:
    explicit Widget(QWidget *parent = 0);
    ~Widget();
public slots:
    void timeSlot();
signals:
    void lunchThread();
private:
    Ui::Widget *ui;
    QProgressDialog* pdialog;
    QThread* thread;
    MyThread* myt;
};

#endif // WIDGET_H
